/*
 * @Descripttion: vue and node-bs
 * @Author: weijunliang-jul
 * @Date: 2021-02-04 10:49:56
 * @LastEditors: weijunliang-jul
 * @LastEditTime: 2021-03-03 14:38:56
 */
import Cookies from 'js-cookie'

const TokenKey = 'jul-Authorization'

export function getToken() {
  return Cookies.get(TokenKey)
}

export function setToken(token) {
  return Cookies.set(TokenKey, token , {expires : 1})
}

export function removeToken() {
  return Cookies.remove(TokenKey)
}
